package xml.uidElements;



public class Text implements UIDNewElement{
	
	private String id;
	private String data;
	private boolean optional;

	public Text(String id, String data){
		this.setId(id);
		this.setData(data);
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getData() {
		return data;
	}

	public void setOptional(boolean optional) {
		this.optional = optional;
	}

	public boolean isOptional() {
		return optional;
	}

}
